<?php namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\Goods
 *
 * @property int $id 自增id
 * @property string|null $ssn 商品货号
 * @property string|null $name 商品名称
 * @property string|null $model 型号
 * @property float $amount 市场价格
 * @property int $coin 波罗币
 * @property int $thumb_id 商品缩略图
 * @property string|null $info 商品信息描述
 * @property int $stock 商品库存
 * @property int $type_id 商品大分类id
 * @property int $isshop 是否上架，0：否 1：是
 * @property string|null $shoptime 上架时间
 * @property int $isrecommend 是否推荐，0：否 1：是
 * @property int $sale_count 销售数量
 * @property int $isnew 是否新品，0：否 1：是
 * @property int $sort 商品排序，整数，数字越低排序越前
 * @property int $user_id 发布者
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\Goods onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereAmount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereCoin($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereInfo($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereIsnew($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereIsrecommend($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereIsshop($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereModel($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereSaleCount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereShoptime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereSort($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereSsn($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereStock($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereThumbId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereTypeId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereUserId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Goods withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\Goods withoutTrashed()
 * @mixin \Eloquent
 * @property int $type 商品类型
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereType($value)
 */
class Goods extends Model
{
    protected $table = 'goods';
    use SoftDeletes;
}